package za.co.yellowfire.solarflare.log;

/**
 * An enumeration of log type / category
 * @author Mark P Ashworth
 * @version 0.0.1
 */
public enum LogType {
	MANAGER("manager"),
	SEARCH("search"),
	PROVIDER("provider"),
	;
	
	private static final String LOGGER_NAME_PREFIX = "za.co.yellowfire.solarflare.";
    private String category;

    /**
     * Utility constructor
     * @param category The log category
     */
    private LogType(String category) {
        this.category = LOGGER_NAME_PREFIX + category;
    }

    /**
     * Returns the log category
     * @return Category
     */
    public String getCategory() {
        return category;
    }
}
